Using network interface controller (NIC) queue depth for power state management

ABSTRACT

A computer-implemented method can include receiving a queue depth for a receive queue of a network interface controller (NIC), determining whether a power state of a central processing unit (CPU) core mapped to the receive queue should be adjusted based on the queue depth, and adjusting the power state of the CPU core responsive to a determination that the power state of the CPU core should be adjusted.

TECHNICAL FIELD

The disclosed technology relates generally to network interface controllers (NICs), such as Ethernet controllers, virtual network functions (VNFs), power management, and software-defined networks.

BACKGROUND

FIG. 1 is a functional block diagram illustrating an example of a system 100 that includes a computing device 110, such as a network appliance. In the example, the computing device 110 includes a central processing unit (CPU) 112 for executing instructions as well as a memory 114 for storing such instructions. The CPU 112 has n CPU cores. As used herein, the term core generally refers to a basic computation unit of the CPU. The memory 114 may include random access memory (RAM), flash memory, hard disks, solid state disks, optical disks, or any suitable combination thereof.

The computing device 110 also includes a network interface controller (NIC) 116 for enabling the computing device 110 to communicate with at least one other computing device 120, such as an external or otherwise remote device, by way of a communication medium such as a wired or wireless packet network, for example. The computing device 110 may thus transmit data to and/or receive data from the other computing device(s) by way of its NIC 116. For example, the NIC 116 has n receive queues for receiving data, e.g., ingress packets, from the other computing device(s).

BRIEF DESCRIPTION OF THE DRAWINGS

The concepts described herein are illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not drawn to scale unless otherwise noted.

FIG. 1 is a functional block diagram illustrating an example of a system having a computing device that includes a central processing unit (CPU), a memory, and a network interface controller (NIC).

FIG. 2 is a functional block diagram illustrating a first example of a system having a computing device that includes a network interface controller (NIC) and at least one central processing unit (CPU) core in accordance with certain embodiments of the disclosed technology.

FIG. 3 is a functional block diagram illustrating a second example of a system having a computing device that includes a NIC and at least one CPU core in accordance with certain embodiments of the disclosed technology.

FIG. 4 is a flow diagram illustrating an example of a computer-implemented method in accordance with certain embodiments of the disclosed technology.

FIG. 5 is a flow diagram illustrating another example of a computer-implemented method in accordance with certain embodiments of the disclosed technology.

DETAILED DESCRIPTION OF THE DRAWINGS

While the concepts of the present disclosure are susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the drawings and will be described herein in detail. It should be understood, however, that there is no intent to limit the concepts of the present disclosure to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives consistent with the present disclosure and the appended claims.

References in the specification to “one embodiment,” “an embodiment,” “an illustrative embodiment,” etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include that particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, such feature, structure, or characteristic can be employed in connection with another disclosed embodiment whether or not such feature is explicitly described in conjunction with such other disclosed embodiment.

The disclosed embodiments may be implemented, in some cases, in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions (e.g. a computer program product) carried by or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage medium, which may be read and executed by one or more processors. A machine-readable storage medium may be embodied as any storage device, mechanism, or other physical structure for storing or transmitting information in a form readable by a machine (e.g., a volatile or non-volatile memory, a media disc, or other media device).

In the drawings, some structural or method features may be shown in specific arrangements and/or orderings. However, it should be appreciated that such specific arrangements and/or orderings may not be required. Rather, in some embodiments, such features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of a structural or method feature in a particular figure is not meant to imply that such feature is required in all embodiments and, in some embodiments, may not be included or may be combined with other features.

Embodiments of the disclosed technology generally pertain to techniques and mechanisms for CPU core power management that allow for rapid changes to take place in dynamic network traffic environments. Such embodiments generally include an assessment of queue depth for a network appliance, e.g., virtual or physical appliance, and adjustment of the corresponding CPU core's power based on the assessment. For example, if a determination is made that the queue depth for a network appliance in a multi-core system is low, e.g., below a particular threshold, the corresponding CPU core(s) may be placed in a reduced-power state to conserve power while simultaneously maintaining the overall network performance.

Present power management techniques involve assessing a particular CPU core at a given point in time and adjusting the CPU core power state based on that assessment, but such assessment does not take into account how much demand will be put on the CPU core after that point in time. In contrast, the disclosed techniques that include assessing a receive queue depth include a significantly greater prediction of near-term needs for the CPU core. In situations where receive queue depth is low, expected performance from the CPU core is lessened such that the power state may be reduced without negatively impacting the performance. Alternatively, in situations where receive queue depth is high, the CPU core will likely not be able to keep up with the increased demand unless the power state is elevated.

FIG. 2 is a functional block diagram illustrating a first example of a system 200 having a computing device 210 that includes a network interface controller (NIC) 216, such as an Ethernet controller, and at least one central processing unit (CPU) core 230 in accordance with certain embodiments of the disclosed technology. It should be noted that, as used herein, the terms NIC and host fabric interface (HFI) are interchangeable. The NIC 216 has n receive queues, such as registers or other suitable data storage components, for receiving data from other computing devices. In the example, a first receive queue 217 of the NIC 216 receives one or more ingress data packets 205, e.g., from a separate computing device over a wired or wireless connection.

Each of the n receive queues of the NIC 216 is mapped to one or more cores. This mapping may be re-configurable, e.g., depending on the hardware specifications and/or other details of the particular implementation. In the example, the first receive queue 217 is mapped to at least a first CPU core 230 and the nth receive queue 218 is mapped to the nth Core 231. The CPU core 230 includes software 232, e.g., for performing processing on the data packet(s) received from the first receive queue 217, and a power algorithm 234, which may be implemented as software, firmware, or hardware. In certain embodiments, a notification such as an interrupt is sent to the software 232 upon receipt of the incoming data packet 205 by the first receive queue 217. In alternative embodiments, a poll mode driver may be used in place of an interrupt setup.

As used herein, the term queue depth generally refers to a quantified measure of how many computing tasks for a certain receive queue are awaiting processing by the MC 216 at a particular moment, e.g., the number of outstanding receive packets, such as data packets, that have not yet been processed by a corresponding CPU core such as the first CPU core 230. In certain implementations, the NIC 216 may scale the size of a certain receive queue as needed, e.g., if packets would be otherwise dropped. In such embodiments, the queue depth may be the size of the receive queue data structure.

In the example, the software 232 of the CPU core 230 may determine a queue depth of the first receive queue 217 based on information within a designated field of the receive descriptor, which is generated by the NIC 216. In certain implementations, the software 232 reads the appropriate field in the receive descriptor to obtain the queue depth. In alternative implementations, information pertaining to the queue depth may be provided to or otherwise maintained in a separate location that the software 232 can read, such as a designated register or memory location, for example.

The software 232 may then forward the queue depth for the first receive queue 217 to the power algorithm 234. Based on the queue depth as well as the current needs of the CPU core 230, the power algorithm 234 can determine whether the power state of the CPU core 230 should be adjusted. For example, if the power algorithm 234 determines that the power state of the CPU core 230 may be reduced without negatively impacting the performance of the CPU core 230, e.g., the queue depth is below a certain threshold, the power algorithm 234 may cause the power state to be reduced accordingly.

It will be appreciated that, while the power algorithm 234 in the example is on the same CPU core 230 as the software 232 in the example 200, the power algorithm 234 can run on a separate core in other, alternative implementations.

In certain implementations, the power algorithm 234 may have an integrated hysteresis, e.g., throttling, to ensure that CPU core power state changes are not made too frequently or unnecessarily, for example. Such throttling may include one or more queue depth thresholds. For example, the power algorithm 234 may cause a reduction in the power state of a particular CPU core whenever the associated queue depth is below a certain threshold and, alternatively or in addition thereto, the power algorithm 234 may cause an increase in the power state of the CPU core whenever the associated queue depth is above a certain threshold, e.g., the same threshold or a separate threshold. The increasing and/or decreasing of CPU core power states may thus be advantageously dynamic.

FIG. 3 is a functional block diagram illustrating a second example of a system 300 having a computing device 310 that includes a NIC 316, such as an Ethernet controller, and at least one CPU core 330 in accordance with certain embodiments of the disclosed technology. The NIC 316 is similar to the NIC 216 of FIG. 2 in that it also has n receive queues, such as registers or other suitable data storage components, for receiving data from other computing devices. In the example, a first receive queue 317 of the NIC 316 receives one or more ingress data packets 305, e.g., from a separate computing device over a wired or wireless connection.

Similar to the system 200 illustrated by FIG. 2, each of the n receive queues of the NIC 316 is mapped to one or more cores, and such mappings may be re-configurable, e.g., depending on the hardware specifications and/or other details of the particular implementation. In the example, the first receive queue 317 is mapped to at least a first CPU core 330. The CPU core 330 includes software 332, e.g., for performing processing on the information received from the first receive queue 317. In certain embodiments, a notification such as an interrupt may be sent to the software 332 upon receipt of the incoming data packet(s) 305 by the first receive queue 317. Alternatively, a poll mode driver may be used in place of an interrupt.

In the example, the computing device 310 includes a power manager 340 running a power algorithm 342. The power manager 340 may be on a CPU core other than the first CPU 317 or it may be on an entirely separate die. It will be appreciated that the power manager 340 may be locationally positioned virtually anywhere, so long as it is communicatively coupled with the receive queues of the NIC 316 and the CPU core 330. In certain implementations, the power manager 340 may be implemented as or in connection with a manageability engine or an innovation engine.

In the example, the power algorithm 342 of the power manager 340 may determine a queue depth of the first receive queue 317 based on information within a designated field of the receive descriptor. Alternatively, information pertaining to the queue depth may be provided to or otherwise maintained in a separate location that the power manager 340 can read, such as a designated register or memory location, for example.

Based on the queue depth as well as the current needs of the CPU core 330, the power algorithm 342 can determine whether the power state of the CPU core 330 should be adjusted. For example, if the power algorithm 342 determines that the power state of the CPU core 330 may be reduced without negatively impacting the performance of the CPU core 330, e.g., the queue depth is below a certain threshold, the power manager 340 may cause the power state of the CPU core 330 to be reduced accordingly.

The power manager 340 may have an integrated hysteresis, e.g., throttling capability, to ensure that CPU core power state changes are not made too frequently or unnecessarily, for example. Such throttling may include one or more queue depth thresholds. For example, the power manager 340 may cause a reduction in the power state of a particular CPU core whenever the power algorithm 342 determines that the associated queue depth is below a certain threshold and, alternatively or in addition thereto, the power manager 340 may cause an increase in the power state of the CPU core whenever the power algorithm 342 determines that the associated queue depth is above a certain threshold, e.g., the same threshold or a separate threshold.

In certain implementations, the power manager 340 may include an integrated hysteresis, e.g., dynamic throttling, to ensure that CPU core power state changes are not made too frequently or unnecessarily, for example. Such throttling may include one or more queue depth thresholds. For example, the power manager 340 may cause a reduction in the power state of a particular CPU core whenever the power algorithm 342 determines that an associated queue depth is below a certain threshold and, alternatively or in addition thereto, the power manager 340 may cause an increase in the power state of the CPU core whenever the power algorithm 342 determines that the associated queue depth is above a certain threshold, e.g., the same threshold or a separate threshold.

FIG. 4 is a flow diagram illustrating an example of a computer-implemented method 400 in accordance with certain embodiments of the disclosed technology.

At block 402, the queue depth for a receive queue, e.g., a receive queue of a NIC, is received by a power algorithm, such as the power algorithm 234 of FIG. 2 or the power algorithm 342 of FIG. 3. In certain embodiments, the queue depth may be sent to the power algorithm by software on the CPU core, such as the software 232 on the CPU core 230 of FIG. 2.

The queue depth for the receive queue may include a quantified measure of how many computing tasks for the receive queue are lined up at that particular moment, e.g., the number of outstanding receive packets, e.g., data packets, that have not yet been processed by a corresponding CPU core.

At block 404, a determination is made as to whether the power state of one or more CPU cores, e.g., CPU cores associated with the receive queue, should be adjusted. Such determination may be made by the power algorithm based on the queue depth. The determination may include the use of one or more queue depth thresholds. In certain embodiments, the determination may take into account other information such as the current needs of the CPU core(s) and/or past adjustments to the CPU core power state.

Responsive to a determination that the CPU core power state should be adjusted, e.g., increased or decreased, such adjustment is made, as indicated at block 406, and processing returns to block 402; otherwise, processing simply proceeds directly to block 402. It will be appreciated that subsequent performance of the process 400 beginning at block 402 may be done continuously, on a periodic basis, or responsive to a certain event such as a user request, for example.

FIG. 5 is a flow diagram illustrating another example of a computer-implemented method 500 in accordance with certain embodiments of the disclosed technology.

At block 502, which is similar to block 402 of the method 400 illustrated by FIG. 4, a queue depth for a particular receive queue is received, e.g., by a power algorithm. The queue depth may include a quantified measure of how many computing tasks for the receive queue are lined up at that particular moment, e.g., the number of outstanding receive data packets that have not yet been processed by a corresponding CPU core.

At block 504, a determination is made as to whether the queue depth is less than a first queue depth threshold. If it is determined, e.g., by a power algorithm, that the queue depth is indeed less than the first threshold, the method 500 proceeds to block 508; otherwise, the method 500 proceeds to block 506.

At block 508, the power state of at least one CPU core, e.g., each CPU core associated with the receive queue, is reduced. Such reducing may be dependent upon what the CPU core can support, for example.

At block 506, a determination is made as to whether the queue depth exceeds a second queue depth threshold. If it is determined, e.g., by the power algorithm, that the queue depth does exceed the second threshold, the method 500 proceeds to block 510; otherwise, the method 500 returns to block 502.

At block 510, the power state of at least one CPU core, e.g., each CPU core associated with the receive queue, is increased, e.g., dependent upon what the CPU core can support. Certain implementations can include a feedback loop to ramp CPU core power and/or frequency to prevent trashing of the power levels, for example.

Subsequent performance(s) of the method 500 beginning at block 502 may be done continuously, on a periodic basis, or responsive to a certain event such as a user request, for example.

EXAMPLES

Illustrative examples of the technologies disclosed herein are provided below. An embodiment of the technologies may include any one or more, and any combination of, the examples described below.

Example 1 includes a computer-implemented method comprising: receiving a queue depth for a receive queue of a network interface controller (NIC); determining whether a power state of a central processing unit (CPU) core mapped to the receive queue should be adjusted based on the queue depth; and responsive to a determination that the power state of the CPU core should be adjusted, adjusting the power state of the CPU core.

Example 2 includes the subject matter of Example 1, and wherein adjusting the power state of the CPU core includes reducing the power state of the CPU core.

Example 3 includes the subject matter of any of Examples 1-2, and wherein adjusting the power state of the CPU core includes increasing the power state of the CPU core.

Example 4 includes the subject matter of any of Examples 1-3, and wherein determining whether the power state of the CPU core should be adjusted includes comparing the queue depth of the receive queue to a threshold.

Example 5 includes the subject matter of Example 4, and wherein adjusting the power state of the CPU core includes reducing the power state of the CPU core responsive to the queue depth of the receive queue being less than the threshold.

Example 6 includes the subject matter of Example 4, and wherein adjusting the power state of the CPU core includes increasing the power state of the CPU core responsive to the queue depth of the receive queue exceeding the threshold.

Example 7 includes the subject matter of any of Examples 1-6, the method further comprising repeating the receiving and determining continuously.

Example 8 includes the subject matter of Example 7, the method further comprising repeating the receiving and determining at a specified time interval.

Example 9 includes the subject matter of any of Examples 1-8, and wherein the NIC is an Ethernet controller.

Example 10 includes a system comprising: a network interface controller (NIC) of a first computing device, the NIC having a receive queue; a first central processing unit (CPU) core of the first computing device, the first CPU core being mapped to the receive queue; and a power algorithm for determining, based on a queue depth of the receive queue, whether a power state of the first CPU core should be adjusted.

Example 11 includes the subject matter of Example 10, and wherein the power algorithm causes the power state of the first CPU core to be reduced.

Example 12 includes the subject matter of any of Examples 10-11, and wherein the power algorithm causes the power state of the first CPU core to be increased.

Example 13 includes the subject matter of any of Examples 10-12, and wherein the power algorithm compares the queue depth of the receive queue to a threshold.

Example 14 includes the subject matter of Example 13, and wherein the power algorithm causes the power state of the first CPU core to be reduced responsive to a determination that the queue depth of the receive queue is less than the threshold.

Example 15 includes the subject matter of Example 13, and wherein the power algorithm causes the power state of the first CPU core to be increased responsive to a determination that the queue depth of the receive queue exceeds the threshold.

Example 16 includes the subject matter of any of Examples 10-15, and wherein the power algorithm is on the first CPU core.

Example 17 includes the subject matter of any of Examples 10-16, and wherein the power algorithm is on a second CPU core.

Example 18 includes the subject matter of Example 17, and wherein the first and second CPU cores are on different dies.

Example 19 includes the subject matter of any of Examples 10-18, the system further comprising a power manager that includes the power algorithm.

Example 20 includes the subject matter of Example 19, and wherein the power manager and the first CPU core are on different dies.

Example 21 includes the subject matter of any of Examples 10-20, the system further comprising a second computing device for sending an incoming data packet to the first computing device.

Example 22 includes the subject matter of any of Example 21, and wherein the receive queue receives the incoming data packet.

Example 23 includes the subject matter of any of Example 22, and wherein the receive queue has a receive descriptor.

Example 24 includes the subject matter of any of Example 23, and wherein the receive descriptor includes the queue depth of the receive queue.

Example 25 includes one or more non-transitory computer-readable media comprising instructions that, when executed by a processor, cause the processor to perform a method comprising: receiving a queue depth for a receive queue of a network interface controller (NIC); determining whether a power state of a central processing unit (CPU) core mapped to the receive queue should be adjusted based on the queue depth; and responsive to a determination that the power state of the CPU core should be adjusted, adjusting the power state of the CPU core.

Example 26 includes the subject matter of Example 1, and wherein adjusting the power state of the CPU core includes reducing the power state of the CPU core.

Example 27 includes the subject matter of any of Examples 25-26, and wherein adjusting the power state of the CPU core includes increasing the power state of the CPU core.

Example 28 includes the subject matter of any of Examples 25-27, and wherein determining whether the power state of the CPU core should be adjusted includes comparing the queue depth of the receive queue to a threshold.

Example 29 includes the subject matter of Example 28, and wherein adjusting the power state of the CPU core includes reducing the power state of the CPU core responsive to the queue depth of the receive queue being less than the threshold.

Example 30 includes the subject matter of Example 28, and wherein adjusting the power state of the CPU core includes increasing the power state of the CPU core responsive to the queue depth of the receive queue exceeding the threshold.

Example 31 includes the subject matter of any of Examples 25-30, the method further comprising repeating the receiving and determining continuously.

Example 32 includes the subject matter of Example 31, the method further comprising repeating the receiving and determining at a specified time interval.

Example 33 includes the subject matter of any of Examples 25-32, and wherein the NIC is an Ethernet controller.

The previously described versions of the disclosed subject matter have many advantages that were either described or would be apparent to a person of ordinary skill. Even so, all of these advantages or features are not required in all versions of the disclosed apparatus, systems, or methods.

Additionally, this written description makes reference to particular features. It is to be understood that the disclosure in this specification includes all possible combinations of those particular features. For example, where a particular feature is disclosed in the context of a particular aspect or embodiment, that feature can also be used, to the extent possible, in the context of other aspects and embodiments.

Also, when reference is made in this application to a method having two or more defined steps or operations, the defined steps or operations can be carried out in any order or simultaneously, unless the context excludes those possibilities.

Embodiments of the disclosed technology may be incorporated in various types of architectures. For example, certain embodiments may be implemented as any of or a combination of the following: one or more microchips or integrated circuits interconnected using a motherboard, a graphics and/or video processor, a multicore processor, hardwired logic, software stored by a memory device and executed by a microprocessor, firmware, an application specific integrated circuit (ASIC), and/or a field programmable gate array (FPGA). The term “logic” as used herein may include, by way of example, software, hardware, or any combination thereof.

Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a wide variety of alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the embodiments of the disclosed technology. This application is intended to cover any adaptations or variations of the embodiments illustrated and described herein. Therefore, it is manifestly intended that embodiments of the disclosed technology be limited only by the following claims and equivalents thereof. 

We claim:
 1. A computer-implemented method, comprising: processing, by a first central processing unit (CPU) core of a compute device and in a power state equal to a first power state, packets from a first receive queue of a network interface controller (NIC) of the compute device; receiving a first queue depth for the first receive queue of the NIC; adjusting, based on the first queue depth, the first power state of the first CPU core to a second power state different from the first power state, wherein, when the first queue depth is less than a first threshold, adjusting the first power state comprises decreasing the first power state of the first CPU core to the second power state, wherein, when the first queue depth is greater than a second threshold, adjusting the first power state comprises increasing the first power of the first CPU core to a third power state different from the first power state; and, wherein the method further comprises: processing, by the first CPU core in the second power state or the third power state, packets from the first receive queue; receiving a second queue depth for a second receive queue of the NIC; and adjusting, based on the second queue depth, a fourth power state of the second CPU core to a fifth power state different from the fourth power state.
 2. The computer-implemented method of claim 1, wherein adjusting the fourth power state of the second CPU core includes increasing the fourth power state of the second CPU core.
 3. The computer-implemented method of claim 1, comprising comparing the queue depth of the receive queue to the first threshold or the second threshold.
 4. The computer-implemented method of claim 3, further comprising repeating the receiving and comparing continuously.
 5. The computer-implemented method of claim 3, further comprising repeating the receiving and comparing at a specified time interval.
 6. The computer-implemented method of claim 1, wherein the NIC is an Ethernet controller.
 7. The computer-implemented method of claim 1, wherein the receive queue of the NIC implements a first-in-first-out (FIFO) queue data structure configured to simultaneously contain each of a plurality of packets received from a remote compute device, wherein receiving the queue depth for the receive queue of the NIC comprises receiving an indication of a number of packets that are simultaneously present in the receive queue that have not yet been processed by any CPU core.
 8. A system, comprising: a network interface controller (NIC) of a first computing device, the NIC having a first receive queue; a first central processing unit (CPU) core of the first computing device, the first CPU core being mapped to the first receive queue; and hardware implementing a power algorithm to: determine, based on a first queue depth of the first receive queue, whether a power state of the first CPU core is to be adjusted from a first power state to a second power state different from the first power state; and adjust, in response to the determination, the first power state of the first CPU core to be the second power state, wherein, when the first queue depth is less than a first threshold, to adjust the first power state comprises to decrease the first power state to the second power state; wherein, when the first queue depth is greater than a second threshold, to adjust the first power state comprises to increase the first power state; wherein the first CPU core is configured to process packets from the first receive queue in the first power state and in the second power state; wherein the system further comprises a second CPU core of the first computing device, wherein the second CPU core is mapped to a second receive queue, and wherein the power algorithm is to adjust, based on a second queue depth of the second receive queue, a third power state of the second CPU core to a fourth power state different from the third power state.
 9. The system of claim 8, wherein the power algorithm compares the first queue depth of the first receive queue to the first threshold and/or the second threshold.
 10. The system of claim 9, wherein the power algorithm causes the first power state of the first CPU core to be reduced responsive to a determination that the first queue depth of the receive queue is less than the first threshold.
 11. The system of claim 9, wherein the power algorithm causes the first power state of the first CPU core to be increased responsive to a determination that the first queue depth of the receive queue exceeds the second threshold.
 12. The system of claim 8, wherein the hardware implementing the power algorithm is on the first CPU core.
 13. The system of claim 8, wherein the hardware implementing the power algorithm is on the second CPU core.
 14. The system of claim 13, wherein the first and second CPU cores are on different processors.
 15. The system of claim 8, further comprising a power manager that includes the power algorithm.
 16. The system of claim 15, wherein the power manager and the first CPU core are on different processors.
 17. The system of claim 8, further comprising a second computing device for sending an incoming data packet to the first computing device.
 18. The system of claim 17, wherein the receive queue receives the incoming data packet.
 19. The system of claim 17, wherein the receive queue comprises a receive descriptor.
 20. The system of claim 19, wherein the receive descriptor includes the queue depth of the receive queue.
 21. One or more non-transitory, computer-readable media comprising instructions that, when executed by a processor of a compute device, cause the processor to perform a method comprising: processing, by a central processing unit (CPU) core of the compute device and in a power state equal to a first power state, packets from a receive queue of a network interface controller (NIC) of the compute device; receiving a queue depth for the receive queue of the NIC; adjusting, based on the queue depth, the first power state of the CPU core to a second power state different from the first power state, wherein, when the queue depth is less than a first threshold, adjusting the first power state comprises decreasing the first power state of the CPU core to the second power state, wherein, when the queue depth is greater than a second threshold, adjusting the first power state comprises increasing the first power of the CPU core to a third power state different from the first power state; and wherein the method further comprises: processing, by the CPU core in the second power state or the third power state, packets from the receive queue, wherein the CPU core is a first CPU core, wherein the receive queue is a first receive queue, wherein the queue depth is a first queue depth, and wherein the method comprises: receiving a second queue depth for the second receive queue of the NIC; and adjusting, based on the second queue depth, a fourth power state of the second CPU core to a fifth power state different from the fourth power state.
 22. The one or more non-transitory, computer-readable media of claim 21, wherein adjusting the fourth power state of the second CPU core includes increasing the fourth power state of the second CPU core. 